// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import Vant from 'vant';
import 'vant/lib/vant-css/index.css';
Vue.use(Vant);

// 图片裁剪
import Croppa from 'vue-croppa'
Vue.use(Croppa)
// 图片裁剪 over

Vue.config.productionTip = false

import axios from 'axios'
Vue.prototype.$axios = axios;

// 接口
global.url_g = 'http://console.obcobt.com/api/v1';
global.token_g = '';
global.isLogin_g = false;
//  tabbar 的 索引
global.active_g = 0;

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
